//
//  NSData+Extension.h
//  VirtualCurrency
//
//  Created by apple on 2021/7/5.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSData (Extension)

/**
 Data类型转换为Base64
 
 @param length 长度
 
 @return base64字符串
 */
- (NSString *)base64StringLength:(NSUInteger)length;

/**
 转成字典
 
 @return 返回字典
 */
- (NSDictionary*)dataForDictionary;

@end

NS_ASSUME_NONNULL_END
